```yaml title="<project>/moon.yml"
language: 'go'

fileGroups:
  sources:
    - 'cmd/**/*'
    - 'include/**/*'
    - 'pkg/**/*'

tasks:
  build:
    command: 'go build -o @out(0)'
    inputs:
      - '@globs(sources)'
    outputs:
      - 'bin'
  dev:
    command: 'go run'
    inputs:
      - '@globs(sources)'
    local: true
  format:
    command: 'go fmt'
    inputs:
      - '@globs(sources)'
  lint:
    command: 'staticcheck'
    inputs:
      - '@globs(sources)'
      - 'staticcheck.conf'
  test:
    command: 'go test'
    inputs:
      - '@globs(sources)'
  vet:
    command: 'go vet'
    inputs:
      - '@globs(sources)'
```
